For even faster turnaround inspection of changes.
Also add a comment about the idle_add in the 'lg' command.
this._internalCommands = { 'lg':
Lang.bind(this, function() {
+ // Run in an idle to avoid recursive key grab problems
Mainloop.idle_add(function() { Main.createLookingGlass().open(); });
}),
-
+
+ 'r': Lang.bind(this, function() {
+ let global = Shell.Global.get();
+ global.reexec_self();
+ }),
+
+ // Developer brain backwards compatibility
'restart': Lang.bind(this, function() {
let global = Shell.Global.get();
global.reexec_self();